package request

type UserLogin struct {
	Mobile   string `json:"mobile" form:"mobile" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
}

type ReceiveCoupon struct {
	CouponId int64 `json:"couponId" form:"couponId" binding:"required"`
}

type ShowCoupon struct {
	Status int64 `json:"status" form:"status" binding:"required"`
}

type ShowTakeoutList struct {
	IsHot     int64 `json:"isHot" form:"isHot"`
	IsPremium int64 `json:"isPremium" form:"isPremium"`
	IsSetMenu int64 `json:"isSetMenu" form:"isSetMenu"`
}

type CreateOrder struct {
	TakeoutId int64  `json:"takeoutId" form:"takeoutId" binding:"required"`
	CouponId  int64  `json:"couponId" form:"couponId"`
	Num       int32  `json:"num" form:"num" binding:"required"`
	Notes     string `json:"notes" form:"notes"`
}
